package com.example.xueshen.common.service;

import com.baomidou.mybatisplus.extension.plugins.pagination.Page;
import com.example.xueshen.common.entity.Ban;
import com.example.xueshen.common.entity.Course;

import java.util.List;

public interface CourseService {
    List<Course> getAllByPlus();
    boolean toAdd(Course course);
    boolean update(Course course);
    Course getById(Integer cid);
    boolean deleteById(Integer cid);
    Page<Course> selectBy(Page<Course> page);
    Page<Course> selectByLike(String name, Page<Course> page);

}
